package com.cnhis.cloudhealth.clinical.hosnurse.hosdiagnose.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.cnhis.cloudhealth.commons.Mappers.ModelVo;
import com.cnhis.cloudhealth.commons.dao.BaseDao;
import com.cnhis.cloudhealth.commons.utils.Page;

@Repository
public class HosDiagnoseDao  extends BaseDao{
	public Page personItemsList(Map map,int currPage,int pageSize)throws Exception{
		return queryForPage("HosDiagnose.personItemsList", map, currPage, pageSize);
	}
	public Page personTreatmentCase(Map map,int currPage,int pageSize)throws Exception{
		return queryForPage("HosDiagnose.personTreatmentCase", map, currPage, pageSize);
	}
	public List personTreamentList(Map map)throws Exception{
		return queryForList("HosDiagnose.personTreamentList", map);
	}
	public List getAdviceLimit(Map map)throws Exception{
		return queryForList("HosDiagnose.getAdviceLimit", map);
	}
	public List queryCurrentCase(Map map)throws Exception{
		return queryForList("HosDiagnose.queryCurrentCase", map);
	}
	public List queryTreatment(Map map)throws Exception{
		return queryForList("HosDiagnose.queryTreatment", map);
	}
	public List getTreatmentById(Map map)throws Exception{
		return queryForList("HosDiagnose.getTreatmentById", map);
	}
}
